//
//  VisitorView.swift
//  WeiBoSwift
//
//  Created by admin on 2017/12/11.
//  Copyright © 2017年 admin. All rights reserved.
//

import UIKit

class VisitorView: UIView {
    class func visitorView() -> VisitorView {
        return Bundle.main.loadNibNamed("VisitorView", owner: nil, options: nil)?.first as! VisitorView
    }
    
    @IBOutlet weak var rotateImageView: UIImageView!
    @IBOutlet weak var titleImageView: UIImageView!
    @IBOutlet weak var tipsLabel: UILabel!
    @IBOutlet weak var registerButton: UIButton!
    @IBOutlet weak var LoginButton: UIButton!
    
    func setupVisitorView(imageName : String, title : String) {
        rotateImageView.isHidden = true
        titleImageView.image = UIImage.init(named: imageName)
        tipsLabel.text = title
    }
}
